

import request from '@/router/axios'

const prefix = '/rca/viewckdataauditjiehangcash'

export function fetchList(query) {
  return request({
    url: prefix+'/page',
    method: 'get',
    params: query
  })
}

export function dataExport(query) {
  return request({
    url: prefix+'/exportGroupDate',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}


/**
 * 生成库存对比
 * @param {*} obj
 */
export function createFares(obj) {
  return request({
    url: prefix+'/generate',
    method: 'get',
    params: obj
  })
}
